package com.qf.main.pharmacy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
 * @author chengqiang
 * @Create 2024-02-21-21:22
 * @Description:
 */
@ApiModel(description = "shop")
@Data
@TableName(value = "shop")
public class Shop {
    /**
     * 店铺主键
     */
    @TableId(value = "shop_id", type = IdType.INPUT)
    @ApiModelProperty(value = "店铺主键")
    private Integer shopId;

    /**
     * 店铺号
     */
    @TableField(value = "shop_no")
    @ApiModelProperty(value = "店铺号")
    private Long shopNo;

    /**
     * 店铺名
     */
    @TableField(value = "shop_name")
    @ApiModelProperty(value = "店铺名")
    private String shopName;

    /**
     * 店铺状态(0歇业1开店)
     */
    @TableField(value = "shop_status")
    @ApiModelProperty(value = "店铺状态(0歇业1开店)")
    private Integer shopStatus;

    /**
     * 0正常1删除
     */
    @TableField(value = "del_status")
    @ApiModelProperty(value = "0正常1删除")
    private Integer delStatus;

    /**
     * 店铺持有人id
     */
    @TableField(value = "user_id")
    @ApiModelProperty(value = "店铺持有人id")
    private Integer userId;

    /**
     * 创建时间
     */
    @TableField(value = "create_date")
    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    /**
     * 店铺地址
     */
    @TableField(value = "shop_address")
    @ApiModelProperty(value = "店铺地址")
    private String shopAddress;

    /**
     * 店铺描述
     */
    @TableField(value = "shop_desc")
    @ApiModelProperty(value = "店铺描述")
    private String shopDesc;

    /**
     * 营业执照
     */
    @TableField(value = "shop_bl")
    @ApiModelProperty(value = "营业执照")
    private String shopBl;

    /**
     * 经营许可证
     */
    @TableField(value = "shop_coa")
    @ApiModelProperty(value = "经营许可证")
    private String shopCoa;

    public static final String COL_SHOP_ID = "shop_id";

    public static final String COL_SHOP_NO = "shop_no";

    public static final String COL_SHOP_NAME = "shop_name";

    public static final String COL_SHOP_STATUS = "shop_status";

    public static final String COL_DEL_STATUS = "del_status";

    public static final String COL_USER_ID = "user_id";

    public static final String COL_CREATE_DATE = "create_date";

    public static final String COL_SHOP_ADDRESS = "shop_address";

    public static final String COL_SHOP_DESC = "shop_desc";

    public static final String COL_SHOP_BL = "shop_bl";

    public static final String COL_SHOP_COA = "shop_coa";
}